<template>
  <h1>登录</h1>
</template>

<script>
export default {
  created() {
    const self = this;
    if (this.$route.meta.requiresAuth) {
      setTimeout(function () {
        // console.log(this)
        self.$router.push({ path: "/" });
      }, 3000);
    }
  },
};
</script>

<style></style>
